package com.cxm.qyyz.di.component;

import android.content.Context;

import com.cxm.qyyz.di.module.ActivityModule;
import com.cxm.qyyz.di.scope.ActivityScope;
import com.cxm.qyyz.di.scope.ContextLife;
import com.cxm.qyyz.ui.SplashActivity;
import com.cxm.qyyz.ui.setting.ChangeHeaderUrlActivity;

import dagger.Component;

@ActivityScope
@Component(dependencies = AppComponent.class, modules = ActivityModule.class)
public interface ActivityComponent {

    @ContextLife("Activity")
    Context getActivityContext();

    @ContextLife("Application")
    Context getApplicationContext();


    void inject(SplashActivity activity);


    void inject(ChangeHeaderUrlActivity activity);

}

